package cn.cycleif.app.mapper;

import cn.cycleif.admin.pojo.vo.SysUserVO;
import cn.cycleif.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Date: 25/1/21-16:42
 * @Desc:
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

  IPage<User> pageQuery(
      @Param("page") Page<User> page,
      @Param("roleId") Integer roleId,
      @Param("status") Integer status
  );
}
